package com.innovation.wjrpc.protocol;

import lombok.Data;

/**
 * @author innoyiya
 * @date 2021/9/7 18:15
 */
@Data
public class Response {
    private Long id;
    private int code = 0;
    private String message = "ok";
    private Object data;

    @Override
    public String toString() {
        return "Response{" +
                "id=" + id +
                ", code=" + code +
                ", message='" + message + '\'' +
                ", data=" + data +
                '}';
    }
}
